package com.fxpc.hddc.qhedanger.dto.primary.entity;

import javax.persistence.*;
import java.util.Date;
import java.util.Objects;

/**
 * @Description: fxpc-schedule
 * @Author: lhl
 * @CreateDate: 2021/3/22 16:50
 */
@Entity
@Table(name = "qh_probability_earthquake_danger", schema = "base", catalog = "")
public class QhProbabilityEarthquakeDangerEntity {
    private String uuid;
    private String province;
    private String city;
    private String area;
    private String affiliatedFileName;
    private String a;
    private String b;
    private String c;
    private String d;
    private String e;
    private String f;
    private String g;
    private String h;
    private String i;
    private String j;
    private String l;
    private String m;
    private String n;
    private String o;
    private String p;
    private String q;
    private String objectCode;
    private String isValid;
    private String partitionFlag;
    private String createUser;
    private Date createTime;
    private String updateUser;
    private Date updateTime;

    @Id
    @Column(name = "uuid")
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Basic
    @Column(name = "province")
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Basic
    @Column(name = "city")
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Basic
    @Column(name = "area")
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Basic
    @Column(name = "affiliated_file_name")
    public String getAffiliatedFileName() {
        return affiliatedFileName;
    }

    public void setAffiliatedFileName(String affiliatedFileName) {
        this.affiliatedFileName = affiliatedFileName;
    }

    @Basic
    @Column(name = "A")
    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    @Basic
    @Column(name = "B")
    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }

    @Basic
    @Column(name = "C")
    public String getC() {
        return c;
    }

    public void setC(String c) {
        this.c = c;
    }

    @Basic
    @Column(name = "D")
    public String getD() {
        return d;
    }

    public void setD(String d) {
        this.d = d;
    }

    @Basic
    @Column(name = "E")
    public String getE() {
        return e;
    }

    public void setE(String e) {
        this.e = e;
    }

    @Basic
    @Column(name = "F")
    public String getF() {
        return f;
    }

    public void setF(String f) {
        this.f = f;
    }

    @Basic
    @Column(name = "G")
    public String getG() {
        return g;
    }

    public void setG(String g) {
        this.g = g;
    }

    @Basic
    @Column(name = "H")
    public String getH() {
        return h;
    }

    public void setH(String h) {
        this.h = h;
    }

    @Basic
    @Column(name = "I")
    public String getI() {
        return i;
    }

    public void setI(String i) {
        this.i = i;
    }

    @Basic
    @Column(name = "J")
    public String getJ() {
        return j;
    }

    public void setJ(String j) {
        this.j = j;
    }

    @Basic
    @Column(name = "L")
    public String getL() {
        return l;
    }

    public void setL(String l) {
        this.l = l;
    }

    @Basic
    @Column(name = "M")
    public String getM() {
        return m;
    }

    public void setM(String m) {
        this.m = m;
    }

    @Basic
    @Column(name = "N")
    public String getN() {
        return n;
    }

    public void setN(String n) {
        this.n = n;
    }

    @Basic
    @Column(name = "O")
    public String getO() {
        return o;
    }

    public void setO(String o) {
        this.o = o;
    }

    @Basic
    @Column(name = "P")
    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }

    @Basic
    @Column(name = "Q")
    public String getQ() {
        return q;
    }

    public void setQ(String q) {
        this.q = q;
    }

    @Basic
    @Column(name = "object_code")
    public String getObjectCode() {
        return objectCode;
    }

    public void setObjectCode(String objectCode) {
        this.objectCode = objectCode;
    }

    @Basic
    @Column(name = "is_valid")
    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    @Basic
    @Column(name = "partition_flag")
    public String getPartitionFlag() {
        return partitionFlag;
    }

    public void setPartitionFlag(String partitionFlag) {
        this.partitionFlag = partitionFlag;
    }

    @Basic
    @Column(name = "create_user")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "update_user")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public boolean equals(Object o1) {
        if (this == o1) return true;
        if (o1 == null || getClass() != o1.getClass()) return false;
        QhProbabilityEarthquakeDangerEntity that = (QhProbabilityEarthquakeDangerEntity) o1;
        return Objects.equals(uuid, that.uuid) &&
                Objects.equals(province, that.province) &&
                Objects.equals(city, that.city) &&
                Objects.equals(area, that.area) &&
                Objects.equals(affiliatedFileName, that.affiliatedFileName) &&
                Objects.equals(a, that.a) &&
                Objects.equals(b, that.b) &&
                Objects.equals(c, that.c) &&
                Objects.equals(d, that.d) &&
                Objects.equals(e, that.e) &&
                Objects.equals(f, that.f) &&
                Objects.equals(g, that.g) &&
                Objects.equals(h, that.h) &&
                Objects.equals(i, that.i) &&
                Objects.equals(j, that.j) &&
                Objects.equals(l, that.l) &&
                Objects.equals(m, that.m) &&
                Objects.equals(n, that.n) &&
                Objects.equals(o, that.o) &&
                Objects.equals(p, that.p) &&
                Objects.equals(q, that.q) &&
                Objects.equals(objectCode, that.objectCode) &&
                Objects.equals(isValid, that.isValid) &&
                Objects.equals(partitionFlag, that.partitionFlag) &&
                Objects.equals(createUser, that.createUser) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(updateUser, that.updateUser) &&
                Objects.equals(updateTime, that.updateTime);
    }

    @Override
    public int hashCode() {
        return Objects.hash(uuid, province, city, area, affiliatedFileName, a, b, c, d, e, f, g, h, i, j, l, m, n, o, p, q, objectCode, isValid, partitionFlag, createUser, createTime, updateUser, updateTime);
    }
}
